package com.better.backend.dataComputingService.repository.scoreSelection;

import com.better.backend.dataComputingService.model.scoreSelection.SeleExamStudentScoreCalModel;
import com.better.common.mongo.repository.CommonRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 *  分数段管理
 */
@Repository
public interface SeleExamStudentScoreRepsitory extends CommonRepository<SeleExamStudentScoreCalModel,String>{
    List<SeleExamStudentScoreCalModel> findByExamIdAndGradeIdAndClassId(String examId,String gradeId,String classId);

    int deleteByExamIdAndGradeIdAndClassId(String examId,String gradeId,String classId);
}
